package one.stand.mapper;

import one.stand.model.FinanceModel;
import one.stand.model.UserTaskModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 * @author Administrator
 */
public interface UserTaskMapper {
    int deleteByPrimaryKey(Integer taskId);


    int insertSelective(UserTaskModel record);

    UserTaskModel selectByPrimaryKey(Integer taskId);

    UserTaskModel select(UserTaskModel record);

    int updateByPrimaryKeySelective(UserTaskModel record);

    int updateDealAmount(UserTaskModel record);

    List<FinanceModel> selectUserTaskSort(FinanceModel record);

    List<FinanceModel> selectUserTaskMySort(FinanceModel record);

    Map<String, Object> personalData(UserTaskModel model);

    List<Map<String, Object>> sevenOrderData(UserTaskModel model);

    List<Map<String, Object>> sevenDealData(UserTaskModel model);

    List<Map<String, Object>> newCustomerNum(UserTaskModel model);

    List<Map<String, Object>> consultationNum(UserTaskModel model);

    List<Map<String, Object>> followCustomerNum(UserTaskModel model);

    List<Map<String, Object>> activeCustomerNum(UserTaskModel model);

    Map<String, Object> summaryList(UserTaskModel model);

    int delUserTask(UserTaskModel model);

    UserTaskModel selectNow(@Param("cardId") Integer cardId);
}